package org.hepotaiya.sample.simple.batch;

import org.zzz.hepotaiya.annotation.Depencies;
import org.zzz.hepotaiya.annotation.Entry;

public class Hoge1Batch {
	
	@Entry(phase=1)
	public String hoge(){
		System.out.println("hoge1Batch#hoge");
		return "success";
	}
	@Entry(phase=1, isErrorStop=false)
	public String huga(){
		System.out.println("hoge1Batch#huga");
		return null;
	}
	@Depencies(success={"hoge1Batch#hoge"})
	@Entry(phase=2)
	public String moge(){
		System.out.println("hoge1Batch#moge");
		return "success";
	}
}
